package com.dan.inter.web;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.dan.inter.service.TuLingApiService;

/**
 * @ClassName:  TuLingApiController   
 * @Description:图灵机器人  
 * @author: Android_Robot  
 * @date:   2017年7月20日 下午5:21:37   
 *
 */
@RestController
@RequestMapping("/tuling")
public class TuLingApiController {

	@Autowired
	private TuLingApiService tuLingApiService;
	
	@RequestMapping(value="/aaa",method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
	public String getTulingResult(Map<String,String> paramMap) throws Exception{
		String tulingResult = tuLingApiService.getTulingResult(paramMap);
		return tulingResult;
	}
}
